package com.example.mybatisplusgen.utils.response;

public enum Code {
    HTTP_SUCCESS(200,"请求成功"),
    HTTP_FAIL(500, "操作失败")
    ;

    private final Integer code;
    private final String message;

    Code(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
